package Num04_20200229;

public class Num04_20200229 {
    public static void main(String[] args) {
        divide(90);
    }
    public static void divide(int num) {
        System.out.print(num + "=");
        int i=2;
//		for (; i != num; num = num / i) {
        for (;i != num;i++) {
            if (num % i == 0) {
                if (i != num) {
                    num = num / i;
                    System.out.print(i+"*");
                    i=1;
                }
            }
        }
        System.out.print(i+"");
    }
}

